home *** CD-ROM | disk | FTP | other *** search
- /* an include file for the amiga only */
- #include <string.h>
- #include <stdlib.h>
- #include <fcntl.h>
- #include <intuition/intuition.h>
- #include <functions.h>
-
- /* Workaround for the different definition in 5.2 */
- #ifdef IDCMP_CLOSEWINDOW
- #define CLOSEWINDOW IDCMP_CLOSEWINDOW
- #endif
-
- #define wait(x) Delay((long)50*x)
-
- /* define unlink() to be the ANSI remove() */
- #define unlink(x) remove(x)
-
- /* The manx 3.6a version of the seek functions could not seek past
- the end of file (i.e. create empty space at the end of a file)
- so I wrote my own versions. I am not sure if Manx 5.0d will do
- it properly so I've left my versions in for now.
- */
- #define lseek(a,b,c) mylseek(a,b,c)
- #define fseek(a,b,c) myfseek(a,b,c)
-
- /* The DCD detection is not implemented so it is assumed to be always
- on. The hardware handshaking protocol takes care of DCD anyway
- */
- #define isdcd() true
-
-
-
- /* Either rename did not exist in Manx 3.6a or I had a problem with it
- let's try it in 5.0d */
- /*#define rename(a,b) Rename(a,b)*/
-
-
- /* use the new password scheme - delete this if you want the old one */
- #define NEWPASS
-
- /* If new password scheme is to be used then define maximum and minimum
- number of numbers allowed in the list.
- */
- #ifdef NEWPASS
- #define MAXPASS 64
- #define MINPASS 20
- #endif
-
-
- #define TOT_REJECT 30
-